package utils

import (
	"encoding/json"
	"fmt"
	"io/ioutil"
)

type CronFile struct {
	disk string
	cpu  string
	mem  string
}

func LoadFile(path string) {

	a, _ := ioutil.ReadFile(path)
	fmt.Println(string(a))
	for _,v :=range a{
		fmt.Println(string(v))
	}
	file := CronFile{}
	json.Unmarshal(a, &file)
	fmt.Println(file)

}
